﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HR_MsalyList.aspx.cs" Inherits="ArtLand.OA.Project.HR.HR_MsalyList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="page1" AutoSizePanelID="panel1" />
        <ext:Panel runat="server" ID="panel1" Layout="Fit" ShowBorder="false" Title="月薪工资查询管理">
            <Toolbars>
                <ext:Toolbar>
                    <Items>
                        <ext:TwinTriggerBox ID="ttbxMyBox2" ShowLabel="false" OnTrigger1Click="ttbxMyBox2_Trigger1Click"
                            OnTrigger2Click="ttbxMyBox2_Trigger2Click" Trigger1Icon="Clear" ShowTrigger1="False"
                            EmptyText="请输入员工编号或员工姓名" Trigger2Icon="Search" runat="server" Width="180px">
                        </ext:TwinTriggerBox>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:ToolbarText Text="工资 - 年"></ext:ToolbarText>
                        <ext:DropDownList Width="70px" runat="server" ID="Drp_Year"></ext:DropDownList>
                        <ext:ToolbarText Text="月"></ext:ToolbarText>
                        <ext:DropDownList ID="Drp_Mouth" Width="50px" runat="server"></ext:DropDownList>
                        <ext:Button runat="server" ID="btnSearch" Text="查询" Icon="Find" OnClick="btnSearch_Click"></ext:Button>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:ToolbarText Text="<a href='Print_MSALY.aspx' target='_blank'>工资条打印</a>"></ext:ToolbarText>
                        <ext:Button runat="server" ID="btnMoney" Hidden="true" Icon="PageWhiteText" Text="工资条打印" OnClick="btnMoney_Click"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:Grid runat="server" ID="Grid1" DataKeyNames="ID" ShowBorder="false" OnRowCommand="Grid1_RowCommand" IsDatabasePaging="true" PageSize="10" AllowPaging="true" OnPageIndexChange="Grid1_PageIndexChange" ShowHeader="false" EnableColumnLines="true" OnRowDataBound="Grid1_RowDataBound">
                    <Columns>
                        <ext:BoundField DataField="EMPLID" HeaderText="员工编号" Width="80px" TextAlign="Center" />
                        <ext:BoundField DataField="TrueName" HeaderText="员工姓名" Width="80px" TextAlign="Center" />
                        <ext:BoundField DataField="BSALRY" HeaderText="基本工资" Width="90px" TextAlign="Center" />
                        <ext:BoundField DataField="SSALRY" HeaderText="岗位工资" Width="90px" TextAlign="Center" />
                        <ext:BoundField DataField="YSALRY" HeaderText="工龄工资" Width="90px" TextAlign="Center" />
                        <ext:BoundField DataField="JSALARY" HeaderText="绩效工资" Width="90px" TextAlign="Center" />
                        <ext:BoundField DataField="CSALRY" HeaderText="通讯费" Width="60px" TextAlign="Center" />
                        <ext:BoundField DataField="ASALRY" HeaderText="过节费" Width="80px" TextAlign="Center" />
                        <ext:BoundField DataField="PSALRY" HeaderText="奖金" Width="90px" TextAlign="Center" />
                        <ext:BoundField DataField="LSALRY" HeaderText="午餐补贴" Width="70px" TextAlign="Center" />
                        <ext:BoundField DataField="OSALRY" HeaderText="其它补贴" Width="70px" TextAlign="Center" />
                        <ext:BoundField DataField="ABSENC" HeaderText="缺勤应扣" Width="70px" TextAlign="Center" />
                        <ext:BoundField DataField="PERTAX" HeaderText="个人所得税" Width="75px" TextAlign="Center" />
                        <ext:BoundField DataField="PERSAFE" HeaderText="社保和公积金应扣" Width="120px" TextAlign="Center" />
                       <%-- <ext:BoundField DataField="PERSAFE" HeaderText="个人保险缴纳" Width="85px" TextAlign="Center" />--%>
                        <ext:BoundField DataField="TOSALY" HeaderText="工资总额" Width="85px" TextAlign="Center" />
                        <ext:LinkButtonField Icon="Printer" ColumnID="ID"
                            Width="50px" CommandName="Print" TextAlign="Center" HeaderText="打印" />
                    </Columns>
                </ext:Grid>
            </Items>
        </ext:Panel>
        <ext:Window ID="Window3" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="970px" Height="500px">
        </ext:Window>
         <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="650px" Height="520px">
        </ext:Window>
    </form>

    <script src="../js/extgridbug.js"></script>
</body>
</html>
